Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add world::get_info and remove unneeded functions #1015

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

ZeroErrors
Copy link
Contributor

Changelog

  • Removes
    • ecs_ftime_t flecs::world::delta_time() const
    • int64_t flecs::world::tick() const
    • int64_t flecs::world::get_tick() const
    • ecs_ftime_t flecs::world::time() const
    • ecs_ftime_t flecs::world::get_time_scale() const
    • ecs_ftime_t flecs::world::get_target_fps() const
  • Adds const flecs::world_info_t* flecs::world::get_info() const which all the above information can still be retrieved from.

@SanderMertens SanderMertens merged commit 40c89f4 into SanderMertens:master Aug 3, 2023
56 checks passed
@SanderMertens
Copy link
Owner

Thanks for the PR!

@ZeroErrors ZeroErrors deleted the cpp-get-info branch December 29, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants